home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Apps / ArchiveUtils / nx_arc / arcdata.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-20  |  1.8 KB  |  51 lines

  1. /*
  2.  * ARC - Archive utility - ARCDATA
  3.  * 
  4.  * Version 2.16, created on 10/24/86 at 14:54:17
  5.  * 
  6.  * (C) COPYRIGHT 1985,86 by System Enhancement Associates; ALL RIGHTS RESERVED
  7.  * 
  8.  * By:  Thom Henderson
  9.  * 
  10.  * Description: This file defines the external data storage used by the ARC
  11.  * archive utility.
  12.  * 
  13.  * 
  14.  * Language: Computer Innovations Optimizing C86
  15.  */
  16. #include <stdio.h>
  17.  
  18. #define DONT_DEFINE
  19. #include "arc.h"
  20.  
  21. INT             keepbak = 0;    /* true if saving the old archive */
  22. #ifndef    MSDOS
  23. INT             image = 0;    /* true to suppress CRLF/LF x-late */
  24. #endif
  25. #ifdef MTS
  26. char            sepchr[2] = ":";/* Shared file separator */
  27. char            tmpchr[2] = "-";/* Temporary file prefix */
  28. #endif
  29. INT             warn = 1;    /* true to print warnings */
  30. INT             note = 1;    /* true to print comments */
  31. INT             bose = 0;    /* true to be verbose */
  32. INT             nocomp = 0;    /* true to suppress compression */
  33. INT             overlay = 0;    /* true to overlay on extract */
  34. INT             kludge = 0;    /* kludge flag */
  35. char           *arctemp = NULL;    /* arc temp file prefix */
  36. char           *password = NULL;/* encryption password pointer */
  37. INT             nerrs = 0;    /* number of errors encountered */
  38.  
  39. char            hdrver;        /* header version */
  40.  
  41. FILE           *arc;        /* the old archive */
  42. FILE           *new;        /* the new archive */
  43. char            arcname[100];    /* storage for archive name */
  44. char            bakname[100];    /* storage for backup copy name */
  45. char            newname[100];    /* storage for new archive name */
  46. unsigned INT    arcdate = 0;    /* archive date stamp */
  47. unsigned INT    arctime = 0;    /* archive time stamp */
  48. unsigned INT    olddate = 0;    /* old archive date stamp */
  49. unsigned INT    oldtime = 0;    /* old archive time stamp */
  50. INT        dosquash = 0;    /* true to squash instead of crunch */
  51.